package com.admin.contorl;

import com.admin.entity.TableData;

import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.TableView;

public class feedbackViewControl {

    @FXML
    private TableView<TableData> tableView;

    @FXML
    public void initialize() {
        ObservableList<TableData> data = FXCollections.observableArrayList(
                new TableData("公众监督反馈信息编号", "56"),
                new TableData("反馈者信息", "XXX男xxXX-XX-XX"),
                new TableData("反馈者联系电话", "5651515123"),
                new TableData("反馈信息所在地址", "xxXXXXXXXXXX"),
                new TableData("反馈信息描述", "XXXXXXXXXXXXXXXXX"),
                new TableData("预估等级", "三级轻度污染"),
                new TableData("反馈日期时间", "xxxxxxxxxxxxxxxxxxxx"));

        tableView.setItems(data);
    }
}